<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>

  </body>
  <script type="text/javascript">
div.ontonchstart = function(){
  startMove(10,100);
}
var timer = null;
function startMove(speed,iTarget) {
  var oDiv = document.getElementById(div1);
  clearinterval(timer);
  timer = setInterval(function(){

    if (alpha== iTarget) {
      clearinterval(timer);


    }else {

      alpha+=speed;
      oDIV.style.filter = "alpha(opacity:"+alpha+")";

    }
  },30)
}
  </script>
</html>
